<template>
	<view>

		<view style="padding: 30rpx 30rpx 100rpx 30rpx;background: #4066F4;text-align: left;color: #fff;"
			class="u-flex u-row-between">
			<view>
				<view>当前佣金</view>
				<view style="font-size: 40rpx;">￥{{info.commission}}</view>
			</view>


		</view>

		<view class="" v-if="list.length" style="background: #fff;border-radius: 60rpx 60rpx  0 0;position: relative;bottom: 50rpx;padding-top: 40rpx;">
			<view class="mode" >
				<view class="" v-for="(item,index) in list" :key="index"
					class="  u-padding-30 u-border-bottom u-flex u-row-between">
					<view>
						<view class="" style="font-size: 30rpx;">
							{{item.remark}}
						</view>
						<view class="" style="color: #999;">
							{{item.createTime}}
						</view>
					</view>
					<view class="">
						￥{{item.number}}
					</view>
					
				</view>
			</view>
			
			
			
		</view>
		
		
		<view class="empty" v-else>
			<u-empty text="暂无明细" mode="list"></u-empty>
		</view>
		
		<u-toast ref="uToast" />
	</view>
</template>

<script>
	import loader from '@/common/loadPage.js';
	
	
	export default {
		mixins: [loader],
		data() {
			return {
	      		initial: {
	      			geturl: "/Financial/commission",
	      			parm: {
	      				
	      			},
	      		
	      		},
	      		list: [],
				info:{}
			}
		},
		onLoad() {

		},
		onShow() {
			this.information()
			this.getGoods();

		},
		methods: {
		
		
			information() {
				this.$u.api.userInfo().then(res=>{
								this.info=res
							})
			},

			submit() {
				


			
			},
		}
	}
</script>

<style lang="scss">
	.row {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		margin-top: 40rpx;
	}

	.btns {
		background: #F7F7F7;
		border-radius: 60rpx;
		text-align: center;
		color: #999999;
		margin-right: 20rpx;
		margin-bottom: 20rpx;
		padding: 14rpx 20rpx;
	}

	.change {
		background: #628DFF;
		color: #FFFFFF;
		opacity: 1;
		transition: all 0.3s
	}
	.mode{
		box-shadow: 0px 2px 6px rgba(153, 153, 153, 0.2);
		
	}
	.u-cell{
		padding: 0!important;
	}
</style>
